package com.ahearttogo.binding;

import lombok.Data;

/**
 * @author xiejialin
 * @date 2020/4/22 9:35 AM
 */

/**
 * 将解析的sql 加载到这个类中
 * @param <T>
 */
@Data
public class MapperMethod<T> {

    private  String sql;

    private Class<T> type;

    public MapperMethod(String sql, Class<T> type) {
        this.sql = sql;
        this.type = type;
    }

    public MapperMethod() {
    }
}
